.xtx-entry {
  height: 500px;
  background-color: #f5f5f5;
}

.xtx-entry .w {
  position: relative;
  height: 500px;
}
.xtx-entry .banner {
  position: relative;
  /* 溢出的部分隐藏 */
  width: 100%;
  height: 100%;
  background-color: pink;
}

/* 子代选择器 */
.xtx-entry .banner > a {
  position: absolute;
  top: 50%;
  width: 45px;
  height: 45px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 23px;
  text-align: center;
  line-height: 45px;
  transform: translateY(-50%);
}

.xtx-entry .banner .next {
  right: 0;
}

.xtx-entry .banner .prev {
  left: 260px;
}

.xtx-entry ol {
  position: absolute;
  bottom: 31px;
  left: 680px;
  height: 10px;
  width: 110px;
  /* background-color: #f00; */
}

.xtx-entry ol li {
  float: left;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.xtx-entry ol li:nth-child(-n + 4) {
  margin-right: 15px;
}

.xtx-entry ol li.selected {
  background-color: #ff5000;
}

.xtx-entry .cate {
  position: absolute;
  left: 0;
  top: 0;
  width: 251px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.xtx-entry .cate li {
  height: 50px;
  line-height: 50px;
  padding-left: 36px;
  padding-right: 20px;
  color: #fff;
}

.xtx-entry .cate li:hover {
  background-color: #27ba9b;
}

.xtx-entry .cate a:first-child {
  font-size: 16px;
  margin-right: 15px;
}

.xtx-entry .cate a {
  color: #fff;
  font-size: 14px;
}
.xtx-entry .cate span {
  float: right;
}

.xtx-new-goods .goods-hd {
  height: 114px;
  line-height: 114px;
}
.xtx-new-goods .goods-hd h2 {
  font-size: 29px;
  color: #333;
  font-weight: normal;
  height: 114px;
}

.xtx-new-goods .goods-hd h2 span {
  position: relative;
  top: 2px;
  font-size: 16px;
  color: #999;
  margin-left: 34px;
  margin-top: 3px;
}

.xtx-new-goods .goods-hd a {
  font-size: 16px;
  color: #999;
}

.xtx-new-goods .goods-hd a span {
  margin-left: 13px;
}

.xtx-new-goods .goods-list {
  height: 405px;
}

.xtx-new-goods .goods-list li {
  float: left;
  width: 304px;
  height: 405px;
  background-color: #f0f9f4;
  /* 过渡 */
  transition: all 0.2s linear;
}

.xtx-new-goods .goods-list li:nth-child(-n + 3) {
  margin-right: 8px;
}

.xtx-new-goods .goods-list a {
  display: block;
  width: 100%;
  height: 100%;
}

.xtx-new-goods .goods-list a img {
  width: 304px;
  height: 305px;
}
.xtx-new-goods .goods-list .info {
  text-align: center;
}

.xtx-new-goods .goods-list h3 {
  font-size: 20px;
  color: #333;
  font-weight: normal;
  line-height: 1;
  padding: 20px 0;
}

.xtx-new-goods .goods-list p {
  font-size: 23px;
  color: #9a2e1f;
}

.xtx-new-goods .goods-list p em {
  font-size: 17px;
}

.xtx-new-goods .goods-list li:hover {
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}

.xtx-goods .goods-hd {
  height: 96px;
  /* background-color: pink; */
  line-height: 96px;
}

.xtx-goods .goods-hd h2 {
  font-size: 29px;
  color: #333;
  font-weight: normal;
}
.xtx-goods .goods-hd li {
  float: left;
}

.xtx-goods .goods-hd div {
  width: 510px;
}

.xtx-goods .goods-hd li a {
  margin-right: 7px;
  padding: 2px 7px;
  color: #333333;
}
.xtx-goods .goods-hd li a:hover {
  background-color: #27ba9b;
  color: #fff;
}

.xtx-goods .goods-hd a.fr {
  color: #999;
  font-size: 16px;
}

.xtx-goods .goods-hd a.fr span {
  margin-left: 15px;
}

.xtx-goods .goods-content {
  height: 610px;
  /* background-color: pink; */
}
.xtx-goods .goods-content .left {
  width: 240px;
  height: 100%;
  background-color: skyblue;
}
.xtx-goods .goods-content .left a,
.xtx-goods .goods-content .left img {
  display: block;
  width: 100%;
  height: 100%;
}

.xtx-goods .goods-content .right {
  width: 1000px;
  height: 100%;
  /* background-color: purple; */
}

.xtx-goods .goods-content .right li {
  overflow: hidden;
  position: relative;
  float: left;
  width: 242px;
  height: 304px;
  /* background-color: deeppink; */
  margin-left: 8px;
  margin-bottom: 2px;
  /* 透明的边框 */
  border: solid 2px transparent;
  /* 过渡 */
  transition: border 1s;
}

.xtx-goods .goods-content .right li .img-box {
  margin: 0 auto;
}

.xtx-goods .goods-content .right li .img-box,
.xtx-goods .goods-content .right li .img-box img {
  /* text-align: center; */
  width: 184px;
  height: 184px;
}

.xtx-goods .text-box {
  padding-left: 29px;
  /* padding-right: 47px; */
  font-size: 16px;
  color: #333;
}

.xtx-goods .text-box h4 {
  font-size: 16px;
  font-weight: normal;
  color: #333;
}

.xtx-goods .text-box .price {
  font-size: 22px;
  color: #9a2e1f;
  margin-top: 15px;
}

.xtx-goods .text-box .price em {
  font-size: 17px;
}

.xtx-goods .bottom {
  position: absolute;
  bottom: -84px;
  width: 100%;
  height: 84px;
  background-color: #27ba9b;
  /* 过渡的属性 */
  transition: bottom 1s;
}

.xtx-goods .goods-content li:hover .bottom {
  bottom: 0;
}

.xtx-goods .goods-content li:hover {
  border: 2px solid #27ba9b;
}

.xtx-goods .bottom p {
  width: 125px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-size: 13px;
}
.xtx-goods .bottom p:first-child {
  border-bottom: 1px solid #000;
  font-size: 18px;
  margin-top: 15px;
  padding-bottom: 5px;
}

.xtx-goods .bottom p:last-child {
  margin-top: 8px;
}